let express = require('express')
let router = express.Router()
let user = require('./API/user')
let info = require('./API/list')
let book = require('./API/book')
let login = require('./API/login')

router.get('/user', user.get)

router.get('/list/all', info.all)
router.get('/list/get', info.get)
router.get('/list/add', info.add)
router.get('/list/update', info.update)
router.get('/list/del', info.del)
router.get('/book', book.get)
router.get('/login', login.login)

module.exports = router